/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

function Event(id, eventname, type, pointX, pointY, eventdate, eventtime, eventdescript, color)
{
    this.id = id;
    this.eventname = eventname;
    this.type = type;
    this.pointX = pointX;
    this.pointY = pointY;
    this.eventdate = eventdate;
    this.eventtime = eventtime;
    this.eventdescript = eventdescript;
    this.color = color; 
}

function EventInfo(operation, event)
{
    this.operation = operation;
    this.event = event;
    this.setOperation = function(op){
        this.operation = op;
    };
}



